package com.cskaoyan.market.bo;

import lombok.Data;
import org.hibernate.validator.constraints.Length;

import javax.validation.constraints.NotNull;

/**
 * @Author XuFeiLong
 * @DATE: 2023/4/6
 * @TIME: 1:10
 */
@Data
// 任何一个成员变量都不能是null
@NotNull
public class Register {
    @Length(min = 5)
    private String code;
    @Length(min = 11)
    private String mobile;
    @Length(min = 6)
    private String username;
    @Length(min = 8)
    private String password;
    private String WxCode;


}
